home *** CD-ROM | disk | FTP | other *** search
- package com.ms.dxmedia;
-
- import com.ms.com.ComFailException;
- import com.ms.dxmedia.rawcom.DASound;
- import com.ms.dxmedia.rawcom.IDABehavior;
- import com.ms.dxmedia.rawcom.IDASound;
-
- public class SoundBvr extends Behavior {
- private IDASound _COMptr;
-
- public void setCOMBvr(IDABehavior var1) {
- super.setCOMBvr(var1);
- this._COMptr = (IDASound)var1;
- }
-
- public SoundBvr rate(NumberBvr var1) {
- try {
- return new SoundBvr(this.getCOMPtr().RateAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public SoundBvr rate(double var1) {
- try {
- return new SoundBvr(this.getCOMPtr().Rate(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public SoundBvr(IDASound var1) {
- super(var1);
- this._COMptr = var1;
- }
-
- public SoundBvr() {
- super((IDABehavior)null);
- this._COMptr = null;
- }
-
- public static SoundBvr newUninitBvr() {
- return new SoundBvr(new DASound());
- }
-
- protected Behavior newUninitBehavior() {
- return newUninitBvr();
- }
-
- public IDASound getCOMPtr() {
- return this._COMptr;
- }
-
- public SoundBvr loop() {
- try {
- return new SoundBvr(this.getCOMPtr().Loop());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public SoundBvr phase(NumberBvr var1) {
- try {
- return new SoundBvr(this.getCOMPtr().PhaseAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public SoundBvr phase(double var1) {
- try {
- return new SoundBvr(this.getCOMPtr().Phase(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public SoundBvr pan(NumberBvr var1) {
- try {
- return new SoundBvr(this.getCOMPtr().PanAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public SoundBvr pan(double var1) {
- try {
- return new SoundBvr(this.getCOMPtr().Pan(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public SoundBvr gain(NumberBvr var1) {
- try {
- return new SoundBvr(this.getCOMPtr().GainAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public SoundBvr gain(double var1) {
- try {
- return new SoundBvr(this.getCOMPtr().Gain(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
- }
-